﻿<%@ Page Title="Create Member Page" Language="C#" MasterPageFile="  ~/template/Site.Master" AutoEventWireup="true" CodeBehind="CreateMember.aspx.cs" Inherits="EAAdmin.CreateMember" %>

<%@ Import Namespace="EA.DTO" %>
<%@ Import Namespace="EA.Common" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <form id="form1" runat="server">
        <div class="page_name">Member Creation</div>
         <div class="error">
            <%                
                String alert = "";
                if (Attributes.ContainsKey("err"))
                {
                    alert = (String)Attributes["err"];
            %>
            <div class="message">
                <div><%=alert%></div>
            </div>
            <%  }
                if (Attributes.ContainsKey("success"))
                {
                    alert = (String)Attributes["success"];
            %>
            <div class="message_alert">
                <div><%=alert%></div>
            </div>
            <%  } %>
        </div>
        <div>
            <table style="margin-left: 350px">
                <tr>
                    <td>User Name</td>
                    <td>:</td>
                    <td>
                        <input type="text" class="textbox" name="pUserName" id="pUserName" /></td>
                </tr>
                <tr>
                    <td>Password</td>
                    <td>:</td>
                    <td>
                        <input type="password" class="textbox" name="pPassword" id="pPassword" /></td>
                </tr>
                <tr>
                    <td>Full Name </td>
                    <td>:</td>
                    <td>
                        <input type="text" class="textbox" name="pFullName" id="pFullName" /></td>
                </tr>
                <tr>
                    <td>Role</td>
                    <td>:</td>
                    <td>
                        <select name="pRole">
                            <option value="1">Product Manager</option>
                            <option value="2">Customer Manager</option>
                            <option value="3">Manager</option>
                        </select></td>
                </tr>
            </table>

        </div>
        <div>
            <input type="submit" class="button" value="Create" />
        </div>
    </form>
</asp:Content>
